package com.ruoyi.process.mapper;

import java.util.List;
import com.ruoyi.process.domain.WorkPacking;

/**
 * 装箱管理Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface WorkPackingMapper
{
    public List<WorkPacking> selectWorkPackingByuserId(Long userId);
    /**
     * 查询装箱管理
     *
     * @param workPackingId 装箱管理ID
     * @return 装箱管理
     */
    public WorkPacking selectWorkPackingById(Long workPackingId);

    /**
     * 查询装箱管理列表
     *
     * @param workPacking 装箱管理
     * @return 装箱管理集合
     */
    public List<WorkPacking> selectWorkPackingList(WorkPacking workPacking);

    /**
     * 新增装箱管理
     *
     * @param workPacking 装箱管理
     * @return 结果
     */
    public int insertWorkPacking(WorkPacking workPacking);

    /**
     * 修改装箱管理
     *
     * @param workPacking 装箱管理
     * @return 结果
     */
    public int updateWorkPacking(WorkPacking workPacking);

    /**
     * 删除装箱管理
     *
     * @param workPackingId 装箱管理ID
     * @return 结果
     */
    public int deleteWorkPackingById(Long workPackingId);

    /**
     * 批量删除装箱管理
     *
     * @param workPackingIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteWorkPackingByIds(Long[] workPackingIds);
}
